package com.me.videoservice.model.common;

public enum CallbackRetCode {

  OK("正常", 0),
  NO_APP("app 错误", 1),
  NO_DEVICE("设备id错误", 2),
  NO_STREAM("streamCode错误", 3);

  private final String msg;
  private final Integer code;

  CallbackRetCode(String msg, Integer code) {
    this.code = code;
    this.msg = msg;
  }

  public String getMsg() {
    return msg;
  }

  public Integer getCode() {
    return code;
  }
}
